home *** CD-ROM | disk | FTP | other *** search
AMOS Source Code | 1992-09-29 | 1.2 KB | 32 lines |
- '*******************************************************
- '* *
- '* AMOS Professional Procedure Library *
- '* *
- '* Procedure: Screen Wipe 2 *
- '* *
- '* Author: N.P. Hayman-Joyce *
- '* *
- '*******************************************************
-
- For A=0 To 60
- Print "AMOS Professional ";
- Next A
- Wait 50
- _XWIPE2
-
- ' XWipe2 - Double XWipe by N.P.Hayman-Joyce (OWL)
- ' Use this wipe anywhere in your program by typing " proc _XWIPE2 ".
- Procedure _XWIPE2
- ' This gets the four screen corners as coordinates for the lines.
- X1=320 : Y1=0 : X2=0 : Y2=200 : X3=0 : Y3=0 : X4=320 : Y4=200
- Do
- ' This sets the ink colour to black.
- Ink 0
- ' This draws the two lines.
- Draw X2,Y2 To X1,Y1 : Draw X3,Y3 To X4,Y4
- ' This exits when the wipe is complete.
- Exit If X4=0
- ' This changes all the coordinates, moving the lines.
- X3=X3+1 : X4=X4-1 : Y1=Y1+1 : Y2=Y2-1
- Loop
- End Proc